function foo()

    --ERROR: match
    if (x == 1) then
        return 2
    end
end

